package com.kili.picture.common;

/**
 * AsyncTaskConst
 *
 * @author Gordon
 * @version 2019/3/28
 */
public interface AsyncTaskConst {

    int CORE_POOL_SIZE = Runtime.getRuntime().availableProcessors() * 10;

    int MAX_POOL_SIZE = Runtime.getRuntime().availableProcessors() * 15;

    int KEEP_ALIVE_TIME = 60;

    int QUEUE_CAPACITY = 20;

    long TASK_TIME_OUT = 10 * 1000;

    int AWAIT_TERMINATION_SECONDS = 10;

    String TASK_NAME_PREFIX = "fileUploadTask-";
}
